package com.ytsky.quotesystem.entity;

import lombok.Data;

@Data
public class Hits {

    private int id;
    private int articleId;
    private String hitsIp;
    private String hitsTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public String getHitsIp() {
        return hitsIp;
    }

    public void setHitsIp(String hitsIp) {
        this.hitsIp = hitsIp;
    }

    public String getHitsTime() {
        return hitsTime;
    }

    public void setHitsTime(String hitsTime) {
        this.hitsTime = hitsTime;
    }

    @Override
    public String toString() {
        return "Hits{" +
                "id=" + id +
                ", articleId=" + articleId +
                ", hitsIp='" + hitsIp + '\'' +
                ", hitsTime='" + hitsTime + '\'' +
                '}';
    }
}
